﻿<%@ Page Language="C#" MasterPageFile="~/WorkFlow/WFConfigure/MpWorkflow.master" AutoEventWireup="true" Inherits="WorkFlow_WFConfigure_WFTaskBillList" Title="Untitled Page" Codebehind="WFTaskBillList.aspx.cs" %>

<%@ MasterType VirtualPath="~/WorkFlow/WFConfigure/MpWorkflow.master" %>
<%@ Import Namespace="Honestysoft.Workflow.Model" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="100%"  border="0" cellspacing="0" cellpadding="6">
  <tr>
    <td>
<ul id="maintab" class="shadetabs">
<li ><a href="<%=WorkflowApply.Home %>WorkFlow/WFConfigure/WFTaskGroupMain.aspx?ID=<%=Request["ID"] %>" >详细信息</a></li><li class="selected"><a href="#default"  >对应单据</a></li></ul>

<div id="ajaxcontentarea" class="contentstyle" >

<table width="100%"  border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td><div align="right" > 
    <input type="button" class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'" onclick='javascript:mOpenDlg("<%=WorkflowApply.Home%>WorkFlow/WFConfigure/WFTaskBillEdit.aspx?ID=<%=Request["ID"] %>",600,300,"<%=WorkflowApply.Home%>","新增分组单据")' name="Submit" value="新 增" >
      <asp:Button ID="btnDel" Text="删 除" OnClientClick="return mCanDelete('chkID','请选择要删除的记录！');" OnClick="btnDel_Click"   runat="server" />
      
    </div></td>
  </tr>
</table>

  <div style="width:100%; padding-top:3px; text-align:center"> 

<table width="100%"  border="1" cellspacing="0" cellpadding="1" id="datagrid">
  <tr class="HeaderStyle">
    <td style="width:30px" align="center" >
        <input type="checkbox" name="chkAll" value="checkbox" onclick='javascript:mCheckAll(this,"chkID")' />
    </td>
    <td style="width:100px" align="center">单据编码</td>
    <td align="center">单据名称</td>
    <td align="center">任务列表URL</td>
    <td style="width:60px" align="center">操作</td>
  </tr>
  <asp:Repeater ID="Repeater1" runat="server" >
  <ItemTemplate>
  <tr>
    <td align="center" >
        <input type="checkbox" name="chkID" id="chk<%# DataBinder.Eval(Container.DataItem,"ID") %>"  value="<%# DataBinder.Eval(Container.DataItem,"ID") %>" >
    </td>
    <td align="left"><%# ((WF_TaskBill)Container.DataItem).BillID %></td>    
    <td align="left"><%# ((WF_TaskBill)Container.DataItem).Bill.Name%></td>
    <td align="left"></td>
    <td align="center">
        <%# GetLinkButton(DataBinder.Eval(Container.DataItem,"ID")+"") %>
    </td>
  </tr>  
  </ItemTemplate>
  </asp:Repeater>
</table>
</div>

</div>

</td>
  </tr>
</table></asp:Content>




